package com.pms.service;

import java.util.List;

import com.pms.dao.RecordDao;
import com.pms.entity.Record;

public class RecordService {

	RecordDao recordDao = new RecordDao();
	
	public List<Record> findListByContactId(String contactId) {
		
		return recordDao.findListByContactId(contactId);
	}

	public void newRecord(String content, String projectId, String memberId,
			String contactId) {
		recordDao.newRecord(content,projectId,memberId,contactId);
		
	}

}
